package cn.edu.ujn.lab3.service;


import cn.edu.ujn.lab3.dao.Customer;
import cn.edu.ujn.lab3.util.Page;


public interface ICustomerService {

	// 查询客户列表
		public Page<Customer> findCustomerList(Integer page, Integer rows, String custName,String custSource,String custIndustry,String custLevel);

		//新创建用户
		public int createCustomer(Customer customer);
		
		// 通过id查询客户
		public Customer getCustomerById(Integer id);
		// 更新客户
		public int updateCustomer(Customer customer);
		
		// 删除客户
		public int deleteCustomer(Integer id);

}
